#include<stdio.h>
int main()
{
	void swap(int *p1,int *p2);
	int a,b;
	scanf("%d%d",&a,&b);
	int *pointer_1,*pointer_2;
	pointer_1=&a;
	pointer_2=&b;
	if(a<b)
	swap(a,b);
	printf("max=%d\nmin=%d",a,b);
}
   void swap(int *p1,int *p2)
   {
   	int t;
   	t=*p1;
   	*p1=*p2;
   	*p2=t;
   }
   
